package com.service;

import com.pojo.Teacher;

import java.util.List;

public interface TeacherService {
    int addTeacher(Teacher teacher);
    int deleteTeacherById(Long id);
    int updateTeacher(Teacher teacher);
    Teacher queryById(Long id);
    List<Teacher> queryAllTeacher();
}
